﻿#pragma once
#include"CameraControl.h"
class GameCameraController :public CameraControl {
public:
	GameCameraController();
	~GameCameraController();
	void onCursor(double xpos, double ypos)override;
	void onScroll(float offset)override;
	void update()override;
private:
	void pitch(float scale);
	void yaw(float scale);
private:
	float mPitch{};//抬头低头的角度
};